package com.example.ntweixin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.example.ntweixin.entity.WeixinJsapiTicket;

@Mapper
public interface WeixinJsapiTicketDao {
    WeixinJsapiTicket getById(Long id);

    int insert(@Param("pojo") WeixinJsapiTicket pojo);

    int insertSelective(@Param("pojo") WeixinJsapiTicket pojo);

    int insertList(@Param("pojos") List<WeixinJsapiTicket> pojo);

    int update(@Param("pojo") WeixinJsapiTicket pojo);
}
